package rwi.informationsystem.internal.distributed.is;

import java.util.HashMap;

import rwi.informationsystem.core.interfaces.IInformationSystem;

public class CentralInfoSysManager implements IInformationSystem{

	private HashMap<Integer, RWI_Object> objmap;
	
	@Override
	public int registerRWI_Object(int type, int posX, int posY) {
		int id = genId();
		objmap.put(id,new RWI_Object(id, posX, posY));
		return 0;
	}

	@Override
	public void updateRWIObjectPos(int id, int posX, int posY) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void unregisterRWI_Object(int id) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public String calculateRoute(int id, int targetPosX, int targetPosY) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void changeRWIObjectState(int id, int state) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public String getIds() {
		// TODO Auto-generated method stub
		return null;
	}

	private int genId(){
		return 0;
	}
}
